#pragma once

#include "ConstantList.h"

using TimeConstants::WeekDay;

enum class OperationType {
	UNCLEAR = 0,
	ADD = 1,
	DELETE_ = 2,
	MODIFY = 3,
	SEARCH = 4,
	DISPLAY = 5,
	UNDO = 6,
	HELP = 7,
	CONFIG = 8,
	BLOCK =9,
	MARK =10,
	SORT = 11,
	EXIT = 12
};

enum class Expection {
	NORMAL = 0,
	NUMBER = 1,
	TIME = 2,
	STRING = 3
};

enum class RepeatFrequency{
	NO_REPEAT = 0,
	EVERY_N_DAY = 1,
	EVERY_MONTH = 2,
};

struct RepeatRule {
	RepeatFrequency frequency;
	WeekDay startOfWeek;
	pos_int period;
};